package com.zhanglijie.theory.balking;

/**
 * @author zhanglijie
 * @version 1.0
 * @since 1.1.0 2022/8/12 0012 0:22
 */
public class ServerInit {

    boolean isInit = false;
    public synchronized void init(){
        if(isInit)return;
        System.out.println("服务初始化");
        isInit = true;
    }
}
